package com.example.casper.Experiment2024.data;

import java.io.Serializable;
import java.util.ArrayList;

public class Records implements Serializable {
    private double latitude; // 纬度
    private double longitude; // 经度
    private ArrayList<String> photo; //
    private String Title; // 事件描述
    private String description; // 事件描述
    private String locationname;

    public String getLocationname() {
        return locationname;
    }

    public void setLocationname(String locationname) {
        this.locationname = locationname;
    }

    public Records(String title, String description, double latitude, double longitude, ArrayList<String> photo, String locationname) {
        this.description = description;
        this.latitude = latitude;
        this.longitude = longitude;
        this.photo = photo;
        Title = title;
        this.locationname = locationname;
    }

    public String getTitle() {
        return Title;
    }

    public void setTitle(String title) {
        Title = title;
    }
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public ArrayList<String> getPhoto() {
        return photo;
    }

    public void setPhoto(ArrayList<String> photo) {
        this.photo = photo;
    }

}
